package com.mapull.example.section1;

import java.util.Locale;

/**
 * StringLowerCase
 *
 * @author mapull
 * @date 2021-09-06
 * @since 1.0
 **/
public class StringLowerCase {

    public static void main(String[] args) {
        System.out.println("hello world".toLowerCase(Locale.getDefault()));
        System.out.println("Γειά σου Κόσμε".toLowerCase(Locale.US));
    }

    public static void main1(String[] args) {
        String string = "Hello World";
        String lowercaseString = string.toLowerCase();
        System.out.println(lowercaseString);
    }
}
